﻿@model HandleErrorInfo
<hgroup class="title">
    <h1>Error</h1>
</hgroup>
<article>
    <p>
        An unexpected error has occurred. Please contact the system administrator.
    </p>
    @if (Model != null && HttpContext.Current.IsDebuggingEnabled)
    {
        <p>
            <b>Exception:</b> @Model.Exception.Message<br />
            <b>Path:</b> @Model.ControllerName/@Model.ActionName
        </p>
        <div style="width: 100%;">
                <pre>
                    @Model.Exception.StackTrace
                </pre>
        </div>
    }
</article>